MessageDialogButton.Cancel Property

Syntax

Cancel as Boolean


Set to True to indicate that the button will respond to the Esc key and, on Macintosh, pressing the Command-period sequence. Only one button can be the Cancel button.

Some operating systems do not allow one button to be both the Cancel and Default buttons.